
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>Nginx服务部署 · gitbook笔记</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="fanzhongdeqiuchun">
        <meta name="identifier" content="图书编号-1" scheme="ISBN">
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-code/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-back-to-top-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-flexible-alerts/style.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="section3_pdf.html" />
    
    
    <link rel="prev" href="section1_giteepage.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../">
            
                <a href="../">
            
                    
                    介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../chap1.html">
            
                <a href="../chap1.html">
            
                    
                    基础环境
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../chap2/chap2.html">
            
                <a href="../chap2/chap2.html">
            
                    
                    项目环境
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../chap2/section1_vscode.html">
            
                <a href="../chap2/section1_vscode.html">
            
                    
                    VSCode编写Markdown文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../chap2/section2_gitbookplugin.html">
            
                <a href="../chap2/section2_gitbookplugin.html">
            
                    
                    gitbook插件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../chap2/section3_run.html">
            
                <a href="../chap2/section3_run.html">
            
                    
                    运行
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="chap3.html">
            
                <a href="chap3.html">
            
                    
                    发布
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="section1_giteepage.html">
            
                <a href="section1_giteepage.html">
            
                    
                    Gitee Page
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.5.2" data-path="section2_nginx.html">
            
                <a href="section2_nginx.html">
            
                    
                    Nginx服务部署
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="section3_pdf.html">
            
                <a href="section3_pdf.html">
            
                    
                    生成pdf
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >Nginx服务部署</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h3 id="nginx&#x90E8;&#x7F72;">nginx&#x90E8;&#x7F72;</h3>
<p>&#x8981;&#x90E8;&#x7F72;&#x5230;&#x81EA;&#x5DF1;&#x670D;&#x52A1;&#x5668;&#xFF0C;&#x53EF;&#x4EE5;&#x901A;&#x8FC7; Nginx &#x505A;&#x9759;&#x6001;&#x8D44;&#x6E90;&#x8F6C;&#x53D1;&#x5373;&#x53EF;&#x3002;Nginx &#x662F;&#x8F7B;&#x91CF;&#x7EA7; Web &#x670D;&#x52A1;&#x5668; &#xFF0C;&#x5B83;&#x4E0D;&#x4EC5;&#x662F;&#x4E00;&#x4E2A;&#x9AD8;&#x6027;&#x80FD;&#x7684; HTTP &#x548C;&#x53CD;&#x5411;&#x4EE3;&#x7406;&#x670D;&#x52A1;&#x5668;&#xFF0C;&#x540C;&#x65F6;&#x4E5F;&#x662F;&#x4E00;&#x4E2A; IMAP/POP3/SMTP &#x4EE3;&#x7406;&#x670D;&#x52A1;&#x5668;&#x3002;&#x9996;&#x5148;&#xFF0C;&#x5728;&#x670D;&#x52A1;&#x5668;&#x4E0A;&#x5B89;&#x88C5; Nginx &#x670D;&#x52A1;&#x3002;&#x8FD9;&#x91CC;&#x62FF;&#x5C40;&#x57DF;&#x7F51;window&#x505A;&#x4F8B;&#x5B50;&#x3002;</p>
<h4 id="1-&#x5B89;&#x88C5;">1 &#x5B89;&#x88C5;</h4>
<p>1.1&#x5230; <a href="http://nginx.org/en/download.html" target="_blank">Nginx &#x5B98;&#x7F51;</a> &#x4E0A;&#x4E0B;&#x8F7D;&#x76F8;&#x5E94;&#x7684;&#x5B89;&#x88C5;&#x5305;&#x3002;
<img src="../asset/nginx.png" alt="">
&#x6CE8;&#x610F;&#xFF1A;
&#xFF08;1&#xFF09;&#x8DEF;&#x5F84;&#x4E0D;&#x80FD;&#x5305;&#x542B;<strong>&#x7A7A;&#x683C;</strong>&#x6216;<strong>&#x4E2D;&#x6587;</strong>  </p>
<h4 id="2-&#x542F;&#x52A8;nginx">2 &#x542F;&#x52A8;Nginx</h4>
<p>&#xFF08;1&#xFF09;&#x8FDB;&#x5165;Nginx&#x7684;&#x5B89;&#x88C5;&#x76EE;&#x5F55;</p>
<p>&#xFF08;2&#xFF09;start&#x547D;&#x4EE4;&#x542F;&#x52A8; nginx.exe &#x53EF;&#x6267;&#x884C;&#x6587;&#x4EF6;</p>
<pre><code>start nginx
</code></pre><h4 id="3-&#x8BBF;&#x95EE;httplocalhost">3 &#x8BBF;&#x95EE;<a href="http://localhost" target="_blank">http://localhost</a></h4>
<p>&#x5982;&#x679C;&#x663E;&#x793A;Nginx&#x9ED8;&#x8BA4;&#x7684;&#x6B22;&#x8FCE;&#x754C;&#x9762;&#xFF0C;&#x8BF4;&#x660E;&#x670D;&#x52A1;&#x5668;&#x542F;&#x52A8;&#x6210;&#x529F;&#x3002;</p>
<h4 id="4-&#x628A;&#x9759;&#x6001;&#x8D44;&#x6E90;&#x62F7;&#x8D1D;nginx&#x4E2D;">4 &#x628A;&#x9759;&#x6001;&#x8D44;&#x6E90;&#x62F7;&#x8D1D;Nginx&#x4E2D;</h4>
<p>&#x628A;&#x7535;&#x5B50;&#x4E66;&#x5DE5;&#x7A0B;&#x7684; <strong>_book&#x76EE;&#x5F55;</strong> &#x4E0B;&#x7684;&#x6587;&#x4EF6;&#x62F7;&#x8D1D;&#x5230;Nginx&#x7684;<strong>html</strong>&#x76EE;&#x5F55;&#x4E0B;&#x3002;
&#x6CE8;&#x610F;&#xFF1A;
&#xFF08;1&#xFF09;&#x539F;&#x9759;&#x6001;&#x81EA;&#x7531;&#x8981;&#x6709;index.html&#x6587;&#x4EF6;&#xFF0C;&#x62F7;&#x8D1D;&#x7684;&#x65F6;&#x5019;&#x76F4;&#x63A5;&#x8986;&#x76D6;&#x539F;Nginx&#x7684;&#x6587;&#x4EF6;&#x3002;&#x5F53;&#x7136;&#xFF0C;&#x4E5F;&#x53EF;&#x4EE5;&#x901A;&#x8FC7;&#x4FEE;&#x6539;Nginx&#x7684;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x3002;&#x8FD9;&#x91CC;&#x53EA;&#x662F;&#x7528;&#x4E00;&#x4E2A;&#x4FBF;&#x6377;&#x7684;&#x529E;&#x6CD5;&#x3002;
&#xFF08;2&#xFF09;&#x5982;&#x679C;&#x542F;&#x52A8;&#x5931;&#x8D25;&#xFF0C;&#x53EF;&#x80FD;&#x662F;IIS&#x5360;&#x7528;80&#x7AEF;&#x53E3;&#x3002;&#x53BB;&#x6389;IIS&#x76D1;&#x542C;80&#x7AEF;&#x53E3;&#x3002;</p>
<h4 id="5-&#x6D4F;&#x89C8;">5 &#x6D4F;&#x89C8;</h4>
<p>&#xFF08;1&#xFF09;PC&#x7AEF;&#x6D4F;&#x89C8;&#x5668;&#x8F93;&#x5165;&#x201C;<a href="http://localhost&#x201D;" target="_blank">http://localhost&#x201D;</a>
<img src="../asset/nginx2.png" alt="">
&#xFF08;2&#xFF09;&#x5C40;&#x57DF;&#x7F51;&#x5185;&#xFF0C;&#x76F4;&#x63A5;&#x624B;&#x673A;&#x6D4F;&#x89C8;&#x5668;&#x8F93;&#x5165;IP&#x5730;&#x5740;
<img src="../asset/nginx1.jpg" alt=""></p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="section1_giteepage.html" class="navigation navigation-prev " aria-label="Previous page: Gitee Page">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="section3_pdf.html" class="navigation navigation-next " aria-label="Next page: 生成pdf">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"Nginx服务部署","level":"1.5.2","depth":2,"next":{"title":"生成pdf","level":"1.5.3","depth":2,"path":"chap3/section3_pdf.md","ref":"chap3/section3_pdf.md","articles":[]},"previous":{"title":"Gitee Page","level":"1.5.1","depth":2,"path":"chap3/section1_giteepage.md","ref":"chap3/section1_giteepage.md","articles":[]},"dir":"ltr"},"config":{"plugins":["search-pro","code","expandable-chapters","back-to-top-button","flexible-alerts"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"search-pro":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"code":{"copyButtons":true},"fontsettings":{"theme":"white","family":"sans","size":2},"fontSettings":{"theme":"night","family":"sans","size":4},"highlight":{},"back-to-top-button":{},"flexible-alerts":{"style":"flat","note":{"label":"Note","icon":"fa fa-info-circle","className":"info"},"tip":{"label":"Tip","icon":"fa fa-lightbulb-o","className":"tip"},"warning":{"label":"Warning","icon":"fa fa-exclamation-triangle","className":"warning"},"danger":{"label":"Attention","icon":"fa fa-ban","className":"danger"}},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"theme":"default","author":"fanzhongdeqiuchun","lang":"zh-cn","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"isbn":"图书编号-1","variables":{},"title":"gitbook笔记","gitbook":"*","description":"gitbook笔记"},"file":{"path":"chap3/section2_nginx.md","mtime":"2023-04-10T16:38:08.190Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2023-05-14T17:03:21.954Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-code/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-flexible-alerts/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

